<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>比赛列表</title>
</head>
<body>
	<h1>比扫战况</h1>
	<table border="1" cellspacing="0">
		<tr>
			<th>主场</th>
			<th>比分</th>
			<th>客场</th>
		</tr>
		{foreach from=$match item=v}
			<tr>
				<td><a href="index.php?id={$v['teamone']}&c=Team&a=index">{$v['tn1']}</a></td>
				<td>{$v['score']}</td>
				<td><a href="index.php?id={$v['teamtwo']}&c=Team&a=index">{$v['tn2']}</a></td>
			</tr>
		{/foreach}
	</table>
	<a href="index.php?m=Home&c=Play&a=index">展示所有球员</a>
</body>
</html>
